package com.example.spring_blog.pojo.request;

import jakarta.validation.constraints.NotNull;
import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

@Data
public class UpdateAvatarRequest {
    @NotNull(message = "用户id不能为空")
    private Integer id;
    @NotNull(message = "头像不能为空")
    private MultipartFile avatarPath;
}
